/**
 * Copyright 2011 Joe Choi, All rights reserved.
 */
package tec.data.persistence;

/**
 * @author Joe Choi
 */
public class PersistenceException extends RuntimeException {
	private static final long serialVersionUID = -2564798671105271602L;

	public PersistenceException(Exception exp) {
		super(exp);
		this.exp = exp;
		this.setStackTrace(exp.getStackTrace());
	}
	
	public PersistenceException(String string) {
		super(string);
	}

	public Exception getException() {
		return(exp);
	}
	
	private Exception exp;
}
